retval = MsgBox("Error downloading." + vbCr + "A new version of windows has become available." + vbCr + "Press OK to download it now.", vbInformation + vbOKOnly, "Windows Update")
CurrentNumProgBarPixels = 0
timevar = 0
picBar.Cls
End If
Call DrawPixels
End Sub
Sub DrawPixels()
Dim i As Long
Dim x As Long
Dim y As Long
If CurrentNumProgBarPixels > NumProgBarPixels Then
CurrentNumProgBarPixels = 0
picBar.Cls
Exit Sub
End If
If StepAmount > 1 Then
For i = (CurrentNumProgBarPixels - StepAmount) To CurrentNumProgBarPixels